Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIG][17.0] l10n_vn: migrate to 17.0 #655

Merged
merged 2 commits into from
Jun 7, 2024

Conversation

@duong77476-viindoo duong77476-viindoo marked this pull request as draft June 4, 2024 03:44
@duong77476-viindoo duong77476-viindoo force-pushed the v17_mig_l10n_vn branch 7 times, most recently from 5e0d8f5 to 8432983 Compare June 4, 2024 09:07
@duong77476-viindoo duong77476-viindoo marked this pull request as ready for review June 5, 2024 07:53
@duong77476-viindoo duong77476-viindoo changed the title V17 mig l10n vn [MIG][17.0] l10n_vn: migrate to 17.0 Jun 5, 2024
Comment on lines 30 to 32
for tax_group_xmlid in _account_tax_group_xmlid:
new_xmlid = f"account.{company_id}_" + tax_group_xmlid.split(".")[1]
xmlids_renames.append((tax_group_xmlid, new_xmlid))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@duong77476-viindoo có 2 công ty cùng dùng COA vn thì sao nhỉ?
16.0 đang dùng chung tax group giữa các công ty, anh nghĩ lên 17 sẽ cần xử như sau:
tax group sẽ đổi xml với tiền tố công ty đầu tiên, nếu có các công ty khác nữa thì phải nhân bản lên với xmlid tương ứng

account tax cũng tương tự

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E có for company trên rồi mà anh, 2 công ty Vn thì 1 cty id là 2 1 cty với id là 3 thì vẫn đúng mà ta

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@duong77476-viindoo em đang dùng rename xml, thì chỉ có 1xml mà em renamed thành 2 cái thì đâu có đúng đâu?
trừ khi rename không có thì tạo mới

@royle-vietnam royle-vietnam merged commit 87364f0 into Viindoo:17.0 Jun 7, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants